package com.gxa.service;

import com.gxa.common.JsonResult;
import com.gxa.common.R;
import com.gxa.pojo.Monthly_Goals_Template;
import com.gxa.pojo.goalPojo.GoalPojo;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

public interface MonthGoalService {
    //月度目标模板编写
    R EditGoals(Monthly_Goals_Template monthly_goals_template);
    //编辑月度目标页面的回显
    R FindGoals();
    //填写月度目标页面回显
    R FindTitles(String emp_name);
    //月度目标填写
    R EidtTitles(GoalPojo goalPojo, Date time);
    //月度目标信息页面回显
    JsonResult queryActivitys(Integer currentPage,Integer pageSize);
    //月度目标编辑页面回显
    R editActivityQuery(String title);
    //编辑月度目标
    R editActivity(GoalPojo goalPojo);
    //关键词搜索
    JsonResult goalWordSelect(@Param("keyWord") String keyWord, @Param("currentPage") Integer currentPage, @Param("pageSize") Integer pageSize);
    //月度目标删除
    JsonResult deleteActivity(String title);
}
